import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import {LocalStorage, permission} from 'jz-tool-lib'

const app = createApp(App)

app.directive("permission", (el: HTMLElement,  binding: any) => {
    permission(el, binding, () => LocalStorage.getItem('userRoleList') ?? []);
});

app.mount('#app')
